//
//  ExamPaperResetManager.m
//  JPWords
//
//  Created by 梁淑婷 on 2024/7/26.
//

#import "ExamPaperResetManager.h"

@implementation ExamPaperResetManager

- (NSString *)methodName{
    return @"/system/exam/record/app/resetExam";
}

- (JPAPIManagerRequestType)requestType{
    return JPAPIManagerRequestTypeGET;
}

- (NSDictionary *)paramsForApi:(JPAPIBaseManager *)manager{
    NSMutableDictionary *dict = @{}.mutableCopy;
    dict[@"paperId"] = self.paperId;
    NSString *userId = [[NSUserDefaults standardUserDefaults]objectForKey:@"userId"];
    dict[@"userId"] = userId;
    if(self.ptId&&![self.ptId isEqualToString:@""]){
        dict[@"ptId"] = self.ptId;
    }
    return dict;
}


@end
